<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=1024, height=768,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
    <title>Document</title>
    <style>
        .box{
            width: 200px;
            /* height: 200px; */
            background-color: red;
            /* overflow: hidden; */
        }
        .div{
            width: 100px;
            height: 100px;
            background-color: royalblue;
            float: right;
        }
    </style>
</head>
<body>
    <!-- 视口宽度 user-scalable=0，写0不是yes-->
    <!-- <div>12345</div>
    <div>wdfghjk</div> -->


    <!-- 溢出的文字会被隐藏 -->
    <div class="box">
        1234567890-34567890sdyuidfyucbghjcbfgh
        <div class="div">
            ''''''''''''''''''''''''''''''''''12345678
        </div>
    </div>
</body>
</html>